﻿using System;
using System.Collections.Generic;

namespace NetVoxLab.Framework.Model
{
    public class TypeB : IMultiNode
    {
        public string Name { get; set; }
        public Uri Url { get; set; }
        public double Value { get; set; }

        public bool CanHasChilds { get { return true; } }

        private readonly IList<INode> _nodes;
        public IList<INode> Nodes { get { return _nodes; } }

        public TypeB()
        {
            _nodes = new List<INode>();
        }
    }
}
